home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / WarriorsProgress.sit / Warrior’s Progress / source code / Source / CWPApplication.h < prev    next >
Text File  |  1997-06-28  |  616b  |  37 lines

  1. // CWPApplication.h
  2.  
  3. #ifndef CWPApplication_h
  4. #define CWPApplication_h
  5.  
  6. #ifndef Application_h
  7. #include "Application.h"
  8. #endif
  9. #ifndef CWPMenus_h
  10. #include "CWPMenus.h"
  11. #endif
  12. #ifndef Creating_h
  13. #include "Creating.h"
  14. #endif
  15.  
  16. class CWPWindow;
  17. class WindowInitializer;
  18.  
  19. class CWPApplication: public Application,
  20.                              public CWPMenus,
  21.                              public CommandHandler<Creating>
  22.   {
  23.     private:
  24.         CWPApplication();
  25.         
  26.     public:
  27.         static CWPApplication& The();
  28.  
  29.         CWPWindow *NewCWPWindow( const WindowInitializer& initializer );
  30.             // in CWPWindow.cp
  31.         
  32.         virtual bool CanCreate() const;
  33.         virtual void Create();
  34.   };
  35.  
  36. #endif
  37.